FROM pig4cloud/java:8-jre

MAINTAINER lfp

ENV TZ=Asia/Shanghai
ENV JAVA_OPTS="-Xms512m -Xmx1024m "

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN mkdir -p /order
WORKDIR /order
EXPOSE 8000

ADD *.jar App.jar

CMD sleep 5;java $JAVA_OPTS -jar App.jar
